package com.w.picture.controller;

import com.w.picture.common.BaseResponse;
import com.w.picture.common.ResultUtils;
import lombok.Getter;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wzp
 * @since 2024/12/7
 */
@RestController
@RequestMapping("/main")
public class MainController {
    @GetMapping("/health")
    public BaseResponse<String> hello() {
        return ResultUtils.success();
    }
}
